package com.yxw.live_vod_backend_boot.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 类目规格管理信息
 *
 * @author xiexuxin
 * @date 2023-12-06
 */
@Data
@ApiModel(value="CategorySpecificationVO", description="类目规格管理信息")
public class CategorySpecificationVO implements Serializable {

    @ApiModelProperty("规格id")
    private Long specificationId;

    @ApiModelProperty("规格名称")
    private String specificationName;

    @ApiModelProperty("规格值")
    private String[] specificationValue;

    @ApiModelProperty("类目ID")
    private Long categoryId;

    @ApiModelProperty("类目名称")
    private String categoryName;

    @ApiModelProperty("规格标识")
    private String identification;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
